home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / ole2book.zip / BASICS.ZIP / INC / CLASSRES.H < prev    next >
C/C++ Source or Header  |  1993-04-14  |  6KB  |  166 lines

  1. /*
  2.  * CLASSRES.H
  3.  * Sample Code Class Libraries
  4.  *
  5.  * Definitions specifically pertaining to resources for the default
  6.  * class libraries.
  7.  *
  8.  * Copyright (c)1993 Microsoft Corporation, All Rights Reserved
  9.  *
  10.  * Kraig Brockschmidt, Software Design Engineer
  11.  * Microsoft Systems Developer Relations
  12.  *
  13.  * Internet  :  kraigb@microsoft.com
  14.  * Compuserve:  >INTERNET:kraigb@microsoft.com
  15.  */
  16.  
  17.  
  18.  
  19. #ifndef _CLASSRES_H_
  20. #define _CLASSRES_H_
  21.  
  22. #include <bttncur.h>
  23.  
  24. //Position of Window menu and number of menus.
  25. #define WINDOW_MENU                         2
  26. #define CMENUS                              3
  27.  
  28.  
  29.  
  30. //Resource identifiers.
  31. #define IDR_MENU                            1
  32. #define IDR_ACCELERATORS                    1
  33. #define IDR_STATMESSAGEMAP                  1
  34. #define IDR_DOCUMENTICON                    1
  35. #define IDD_ABOUT                           1
  36.  
  37. //Dialog control identifiers
  38. #define ID_NULL                             99
  39.  
  40. //Image identifiers in the standard bmp file.
  41. #define ID_STDGIZMOFILECLOSE                0
  42. #define ID_STDGIZMOEDITUNDO                 1
  43.  
  44.  
  45.  
  46. //Menu command identifiers.
  47. #define IDM_FILENEW                         100
  48. #define IDM_FILEOPEN                        101
  49. #define IDM_FILECLOSE                       102
  50. #define IDM_FILESAVE                        103
  51. #define IDM_FILESAVEAS                      104
  52. #define IDM_FILEEXIT                        105
  53. #define IDM_CUSTOMFILEMIN                   106
  54.  
  55. #define IDM_EDITUNDO                        200
  56. #define IDM_EDITCUT                         201
  57. #define IDM_EDITCOPY                        202
  58. #define IDM_EDITPASTE                       203
  59. #define IDM_CUSTOMEDITMIN                   204
  60.  
  61. #define IDM_WINDOWCASCADE                   300
  62. #define IDM_WINDOWTILEHORZ                  301
  63. #define IDM_WINDOWTILEVERT                  302
  64. #define IDM_WINDOWICONS                     303
  65. #define IDM_CUSTOMWINDOWMIN                 304
  66.  
  67. #define IDM_HELPABOUT                       400
  68. #define IDM_CUSTOMHELPMIN                   401
  69.  
  70. //Where derivations can start using IDs.
  71. #define IDM_CUSTOMMIN                       500
  72.  
  73.  
  74. //IDs for StatStrip handling of popup menus:  must be in order of menu
  75. #define ID_MENUSYS                          1000
  76. #define ID_MESSAGEEMPTY                     1001
  77. #define ID_MESSAGEREADY                     1002
  78. #define ID_STANDARDMAX                      1002
  79.  
  80.  
  81. #define ID_MENUFILE                         (ID_STANDARDMAX+1)
  82. #define ID_MENUEDIT                         (ID_STANDARDMAX+2)
  83. #define ID_MENUWINDOW                       (ID_STANDARDMAX+3)
  84. #define ID_MENUHELP                         (ID_STANDARDMAX+4)
  85.  
  86.  
  87. //Stringtable IDs.  Keep sequential for each group.
  88.  
  89. //Frame window junk
  90. #define IDS_STANDARDFRAMEMIN                0
  91. #define IDS_CAPTION                         0
  92. #define IDS_UNTITLED                        1
  93. #define IDS_FILEDIRTY                       2
  94. #define IDS_DEFEXT                          3
  95. #define IDS_DOTEXT                          4
  96. #define IDS_FILEOPENFILTER                  5
  97. #define IDS_FILESAVEFILTER                  6
  98. #define IDS_FILEOPEN                        7
  99. #define IDS_FILESAVEAS                      8
  100. #define IDS_STANDARDFRAMEMAX                8
  101.  
  102.  
  103. //Document window junk
  104. #define IDS_STANDARDDOCMIN                  128
  105. #define IDS_CLIPBOARDFORMAT                 128
  106. #define IDS_DOCUMENTCAPTION                 129
  107. #define IDS_VERSIONMISMATCH                 130
  108. #define IDS_FILELOADERROR                   131
  109. #define IDS_FILESAVEERROR                   132
  110. #define IDS_FILEDOESNOTEXIST                133
  111. #define IDS_FILEOPENERROR                   134
  112. #define IDS_UNKNOWNERROR                    135
  113. #define IDS_STANDARDDOCMAX                  135
  114.  
  115.  
  116.  
  117.  
  118.  
  119. //These are specifically for the StatStrip
  120. #define IDS_STANDARDSTATMESSAGEMIN          1024
  121.  
  122. #define IDS_EMPTYMESSAGE                    1024
  123. #define IDS_READYMESSAGE                    1025
  124.  
  125. #define IDS_MENUMESSAGESYSTEM               1026
  126. #define IDS_SYSMESSAGESIZE                  1027
  127. #define IDS_SYSMESSAGEMOVE                  1028
  128. #define IDS_SYSMESSAGEMINIMIZE              1029
  129. #define IDS_SYSMESSAGEMAXIMIZE              1030
  130. #define IDS_SYSMESSAGENEXTWINDOW            1031
  131. #define IDS_SYSMESSAGEPREVWINDOW            1032
  132. #define IDS_SYSMESSAGECLOSE                 1033
  133. #define IDS_SYSMESSAGERESTORE               1034
  134. #define IDS_SYSMESSAGETASKLIST              1035
  135.  
  136. #define IDS_MENUMESSAGEFILE                 1036
  137. #define IDS_ITEMMESSAGEFILENEW              1037
  138. #define IDS_ITEMMESSAGEFILEOPEN             1038
  139. #define IDS_ITEMMESSAGEFILECLOSE            1039
  140. #define IDS_ITEMMESSAGEFILESAVE             1040
  141. #define IDS_ITEMMESSAGEFILESAVEAS           1041
  142. #define IDS_ITEMMESSAGEFILEEXIT             1042
  143.  
  144. #define IDS_MENUMESSAGEEDIT                 1043
  145. #define IDS_ITEMMESSAGEEDITUNDO             1044
  146. #define IDS_ITEMMESSAGEEDITCUT              1045
  147. #define IDS_ITEMMESSAGEEDITCOPY             1046
  148. #define IDS_ITEMMESSAGEEDITPASTE            1047
  149.  
  150. #define IDS_MENUMESSAGEWINDOW               1048
  151. #define IDS_ITEMMESSAGEWINDOWCASCADE        1049
  152. #define IDS_ITEMMESSAGEWINDOWTILEHORZ       1050
  153. #define IDS_ITEMMESSAGEWINDOWTILEVERT       1051
  154. #define IDS_ITEMMESSAGEWINDOWICONS          1052
  155.  
  156. #define IDS_MENUMESSAGEHELP                 1053
  157. #define IDS_ITEMMESSAGEHELPABOUT            1054
  158.  
  159. #define IDS_STANDARDSTATMESSAGEMAX          1054
  160.  
  161.  
  162. #define CCHMESSAGEMAX                       128
  163.  
  164.  
  165. #endif //_CLASSRES_H_
  166.